<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>200408</title>
</head>
<body>
    <script>
        var a =1
        (function a() {
            a = 2
            console.log(a)
        })()
    </script>
</body>
</html>